<template>
  <div class="storeInventoryDetails">
    <el-card class="avue_height storeInventoryDetails_shop">
      <el-input placeholder="门店名称" v-model="filterText"></el-input>
      <div style="margin:20px 0px">
        <el-tree
          :data="data"
          node-key="shopId"
          ref="tree"
          default-expand-all
          :props="defaultProps"
          @node-click="handleNodeClick"
          :filter-node-method="filterNode"
        ></el-tree>
      </div>
    </el-card>
    <el-card class="avue_height">
      <search @search="search" @resetSearch="resetSearch" ref="search" />
      <listTable ref="listTable" />
    </el-card>
  </div>
</template>

<script src='./index'></script>

<style lang="scss">
.content {
  .table_caozuoAdd {
    margin: 10px 0px 20px 0px;
  }
}
.storeInventoryDetails {
  .storeInventoryDetails_shop {
    float: left;
    width: 300px;
    overflow: scroll;
    height: 800px;
  }
  .storeInventoryDetails_table {
    float: left;
  }
  .storeInventoryDetails_shop::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
    border-radius: 4px;
    opacity: 0;
    cursor: pointer;
  }
  .storeInventoryDetails_shop::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    background-color: rgba(144, 147, 153, 0.3);
  }
  .storeInventoryDetails_shop::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
    border-radius: 10px;
    background: #ededed;
  }
}
</style>